package com.hluobo.library.service;

import java.util.List;

import com.hluobo.library.dao.AbstractDao;
import com.hluobo.library.model.Announcement;

public interface AnnouncementService extends AbstractDao{
	
	/**
	 * 按照ID查询相应公告
	 * @param id 公告ID
	 * @return
	 */
	public Announcement queryById(int id);
	
	/**
	 * 查询所有公告
	 * @return
	 */
	public List<Announcement> queryAll();
	
}
